package com.example.dllo.my36kr.ui.activity.sonactivity;

import android.content.Intent;
import android.view.View;
import android.webkit.WebView;
import android.widget.ImageView;

import com.example.dllo.my36kr.R;
import com.example.dllo.my36kr.ui.activity.AbsBaseActivity;

/**
 * 发现页面的近期活动的详情
 * Created by CPC_272 on 16/8/27.
 */
public class EventAllMinuteActivity extends AbsBaseActivity {
    private WebView webView;
    private ImageView back_qrsecond;
    @Override
    protected int setLayout() {
        return R.layout.activity_event_all_minute;
    }

    @Override
    protected void initView() {
        webView = byView(R.id.webview_qbsecond);
        back_qrsecond = byView(R.id.back_qrsecond);
    }

    @Override
    protected void initData() {
        Intent intent = getIntent();
        String url = intent.getStringExtra("intentURL");
        webView.loadUrl(url);
        back_qrsecond.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }
}
